package com.aaa.a1109.demo04;



/**
 * @author 荆豪峰
 * @version 1.0
 */
public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new Haha());
        Haha getinstance = (Haha) proxyFactory.getInstance();
        int jian = getinstance.jian(9, 4);
        System.out.println(jian);
    }
}
